﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000319 RID: 793
	public class TNonDmlTriggerClause : TParseTreeNode
	{
		// Token: 0x17000672 RID: 1650
		// (get) Token: 0x06001C31 RID: 7217 RVA: 0x00330A9D File Offset: 0x0032EC9D
		// (set) Token: 0x06001C32 RID: 7218 RVA: 0x00330AA5 File Offset: 0x0032ECA5
		public virtual int FireMode
		{
			get
			{
				return this.fireMode;
			}
			set
			{
				this.fireMode = value;
			}
		}

		// Token: 0x06001C33 RID: 7219 RVA: 0x00330AB0 File Offset: 0x0032ECB0
		public override void init(object arg1)
		{
			this.before_after = (TSourceToken)arg1;
			if (this.before_after.ToString().StartsWith("after", StringComparison.Ordinal))
			{
				this.fireMode = 2;
				return;
			}
			if (this.before_after.ToString().StartsWith("before", StringComparison.Ordinal))
			{
				this.fireMode = 1;
			}
		}

		// Token: 0x06001C34 RID: 7220 RVA: 0x00330B08 File Offset: 0x0032ED08
		public override void init(object arg1, object arg2)
		{
			this.init(arg1);
			this.schemaName = (TObjectName)arg2;
		}

		// Token: 0x17000673 RID: 1651
		// (get) Token: 0x06001C35 RID: 7221 RVA: 0x00330B1D File Offset: 0x0032ED1D
		// (set) Token: 0x06001C36 RID: 7222 RVA: 0x00330B25 File Offset: 0x0032ED25
		public virtual bool Database
		{
			get
			{
				return this.isDatabase;
			}
			set
			{
				this.isDatabase = value;
			}
		}

		// Token: 0x17000674 RID: 1652
		// (get) Token: 0x06001C38 RID: 7224 RVA: 0x00330B37 File Offset: 0x0032ED37
		// (set) Token: 0x06001C37 RID: 7223 RVA: 0x00330B2E File Offset: 0x0032ED2E
		public virtual bool Schema
		{
			get
			{
				return this.isSchema;
			}
			set
			{
				this.isSchema = value;
			}
		}

		// Token: 0x17000675 RID: 1653
		// (get) Token: 0x06001C39 RID: 7225 RVA: 0x00330B3F File Offset: 0x0032ED3F
		// (set) Token: 0x06001C3A RID: 7226 RVA: 0x00330B47 File Offset: 0x0032ED47
		public virtual TObjectName SchemaName
		{
			get
			{
				return this.schemaName;
			}
			set
			{
				this.schemaName = value;
			}
		}

		// Token: 0x17000676 RID: 1654
		// (get) Token: 0x06001C3C RID: 7228 RVA: 0x00330B59 File Offset: 0x0032ED59
		// (set) Token: 0x06001C3B RID: 7227 RVA: 0x00330B50 File Offset: 0x0032ED50
		public virtual TDummyList Database_event_list
		{
			get
			{
				return this.database_event_list;
			}
			set
			{
				this.database_event_list = value;
			}
		}

		// Token: 0x17000677 RID: 1655
		// (get) Token: 0x06001C3E RID: 7230 RVA: 0x00330B6A File Offset: 0x0032ED6A
		// (set) Token: 0x06001C3D RID: 7229 RVA: 0x00330B61 File Offset: 0x0032ED61
		public virtual TDummyList Ddl_event_list
		{
			get
			{
				return this.ddl_event_list;
			}
			set
			{
				this.ddl_event_list = value;
			}
		}

		// Token: 0x04001A2C RID: 6700
		private TSourceToken before_after;

		// Token: 0x04001A2D RID: 6701
		private int fireMode = 2;

		// Token: 0x04001A2E RID: 6702
		private bool isSchema;

		// Token: 0x04001A2F RID: 6703
		private bool isDatabase;

		// Token: 0x04001A30 RID: 6704
		private TObjectName schemaName;

		// Token: 0x04001A31 RID: 6705
		private TDummyList ddl_event_list;

		// Token: 0x04001A32 RID: 6706
		private TDummyList database_event_list;
	}
}
